package org.geektimes.projects.user.web.listener;

import org.geekbang.projects.config.ConfigContext;
import org.geekbang.projects.injection.ApplicationContext;
import org.geekbang.projects.injection.ApplicationContextCompleteAware;
import org.geekbang.projects.injection.processor.ApplicationContextAware;
import org.geekbang.projects.injection.processor.EnvironmentAware;
import org.geekbang.projects.messaging.StreamContext;
import org.geektimes.projects.user.support.messaging.MessagingBeanPostProcessor;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
* 作业监听器  
* @author : lsq
*/
public class TaskPrint implements ApplicationContextCompleteAware , ApplicationContextAware {

	private static final Logger logger = Logger.getLogger(TaskPrint.class.getName());

	private ApplicationContext applicationContext;

	@Override
	public void onComplete(ApplicationContext applicationContext) {
		logger.log(Level.INFO , "本次作业 http://localhost:8081/login-form.jsp");

	}

	@Override
	public void setApplicationContext(ApplicationContext applicationContext) {
		this.applicationContext = applicationContext;
	}
}
